package app.vendorportal.api.data.response;

import app.vendorportal.api.data.DeliveryInfo;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Bribin
 */
@XmlRootElement(name = "query-delivery-date-response")
@XmlAccessorType(XmlAccessType.FIELD)
@Deprecated
public class QueryDeliveryDateResponse {

    @XmlElementWrapper(name = "delivery-info-list")
    @XmlElement(name = "delivery-info")
    private final List<DeliveryInfo> deliveryInfos = new ArrayList<DeliveryInfo>();

    public List<DeliveryInfo> getDeliveryInfos() {
        return deliveryInfos;
    }

}
